<?php
/**
 * The Template for displaying all single posts.
 *
 * @package Ending Credits
 */
get_header(); 
?>
<div class="wrapper archive-info">
    <div class="bread-search">
        <aside><?php 
        dktm_breadcrumbs(); ?></aside>
        <aside class="search">
            <?php //get_template_part('searchform',"information");?>
        </aside>
        <div class="clear"></div>
    </div>
    <div id="primary">
        <div id="content" role="main" class="navigation-single ">
            <?php while (have_posts()) : the_post(); ?>
                <?php //ec_content_nav( 'nav-above' ); ?>
                <?php get_template_part('content', 'page'); ?>
                <?php //ec_content_nav( 'nav-below' ); ?>
                <div class="clear"></div>
            <?php endwhile; 
//            echo get_next_posts_link( '<span class="pre direction">', $custom_query->max_num_pages );
//echo get_previous_posts_link( '<span class="next direction">' );
// end of the loop. ?>
                <?php previous_post('%','<span class="next direction">&nbsp;</span>','no'); ?>    
                <?php next_post('%','<span class="pre direction">&nbsp;</span>','no'); ?>
        </div><!-- #content -->
         <?php echo dktm_share();?>
        <?php echo dktm_comment();?>
    </div><!-- #primary -->
    <?php get_sidebar('entertainment'); ?>
    <div class="clear"></div>
</div>

<?php get_footer(); ?>